package com.yubest.demo.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author hweiyu
 * @Description
 * @Date 2021/3/1 14:01
 */
@NoArgsConstructor
@Data
public class DemoReqDTO implements Serializable {

    private static final long serialVersionUID = 1019466745376831818L;

    /**
     * k3 : {"k4":"v4","k5":"v5"}
     * k6 : [{"k7":"v7","k8":8}]
     * k9 : 9
     * k2 : v2
     * k1 : v1
     */

    private List<Integer> k10;
    private K3Bean k3;
    private Integer k9;
    private String k2;
    private String k1;
    private List<K6Bean> k6;

    @NoArgsConstructor
    @Data
    public static class K3Bean {
        /**
         * k4 : v4
         * k5 : v5
         */

        private String k4;
        private String k5;
    }

    @NoArgsConstructor
    @Data
    public static class K6Bean {
        /**
         * k7 : v7
         * k8 : 8
         */

        private String k7;
        private Integer k8;
    }
}
